﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Windows.Markup;
using Microsoft.Xaml.Tools.XamlDom;

namespace BindingFinder
{
    public class StaticResourceExtension : System.Windows.Markup.MarkupExtension
    {
        public StaticResourceExtension()
        {
        }
        public StaticResourceExtension(object resourceKey)
        {
            ResourceKey = resourceKey;
        }
        [DefaultValue(null)]
        [ConstructorArgument("resourceKey")]
        public object ResourceKey { get; set; }
        public override object ProvideValue(IServiceProvider serviceProvider)
        {
            return this;
        }
    }
}
